<select id="${x.name}" name="${x.name}"<#if x.width ? exists> style="width: ${x.width};"</#if> class="<#if x.disabled>x_select_readonly<#else>x_select</#if>" title="${(x.title)?if_exists} ${(x.value)?if_exists}"<#if (x.size > 1)> size="${x.size}"</#if><#if x.multiple> multiple="true"</#if><#if x.disabled> disabled="true"</#if><#if x.onChange ? exists> onchange="${x.onChange}"</#if>>
<#if x.options ? exists><#list x.options as option>
<option value="${option.value}"<#if x.value ? exists><#if x.value==option.value> selected</#if></#if>>${(option.text)?if_exists}</option>
</#list></#if>
</select>